#include <stdlib.h>
#include <stdio.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <dirent.h>



#define CommandNumber 7
#define MaxCommandLine 128
#define MaxParamNumber 2
#define  BUFFSIZE  1024	





void printShell(char* params[], int paramNumber);
void exitShell(char* params[], int paramNumber);
void changeDir(char* params[], int paramNumber);
void listDir(char* params[], int paramNumber);
void delFile(char* params[], int paramNumber);
void renFile(char* params[], int paramNumber) ;
void copyFile(char* params[], int paramNumber);



int parseCommand(char* cmdStr, char* params[], int* paramNumber);
void dodir(char* path);

void printPrompt();
void cop(char* argv[], int arc);

void errhandle(char* msg);
